package com.cskaoyan.controller.wx.feedback;

import com.cskaoyan.bean.BaseRespVo;
import com.cskaoyan.bean.feedback.WXFeedbackSubmit;
import com.cskaoyan.service.FeedbackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: 蒋镇泽
 * @Description:
 * @Date: 2022-06-07-22:29
 */
@RestController
@RequestMapping("wx/feedback")
public class FeedbackSubmit {
@Autowired
    FeedbackService feedbackService;
@PostMapping("submit")
    public BaseRespVo submit(@RequestBody WXFeedbackSubmit wxFeedbackSubmit){

        feedbackService.insertSubmit(wxFeedbackSubmit);



    return BaseRespVo.ok();

}
}
